package com.qf.ge.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.Date;

/**
    * 购物车商品表
    */
@TableName(value = "dts_cart")
public class DtsCart {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户表的用户ID
     */
    @TableField(value = "user_id")
    private Integer userId;

    /**
     * 入驻品牌商编码
     */
    @TableField(value = "brand_id")
    private Integer brandId;

    /**
     * 商品表的商品ID
     */
    @TableField(value = "goods_id")
    private Integer goodsId;

    /**
     * 商品编号
     */
    @TableField(value = "goods_sn")
    private String goodsSn;

    /**
     * 商品名称
     */
    @TableField(value = "goods_name")
    private String goodsName;

    /**
     * 商品货品表的货品ID
     */
    @TableField(value = "product_id")
    private Integer productId;

    /**
     * 商品货品的价格
     */
    @TableField(value = "price")
    private BigDecimal price;

    /**
     * 商品货品的数量
     */
    @TableField(value = "number")
    private Short number;

    /**
     * 商品规格值列表，采用JSON数组格式
     */
    @TableField(value = "specifications")
    private String specifications;

    /**
     * 购物车中商品是否选择状态
     */
    @TableField(value = "checked")
    private Boolean checked;

    /**
     * 商品图片或者商品货品图片
     */
    @TableField(value = "pic_url")
    private String picUrl;

    /**
     * 创建时间
     */
    @TableField(value = "add_time")
    private Date addTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 逻辑删除
     */
    @TableField(value = "deleted")
    private Boolean deleted;

    /**
     * 代理结算佣金
     */
    @TableField(value = "settlement_money")
    private BigDecimal settlementMoney;

    public static final String COL_ID = "id";

    public static final String COL_USER_ID = "user_id";

    public static final String COL_BRAND_ID = "brand_id";

    public static final String COL_GOODS_ID = "goods_id";

    public static final String COL_GOODS_SN = "goods_sn";

    public static final String COL_GOODS_NAME = "goods_name";

    public static final String COL_PRODUCT_ID = "product_id";

    public static final String COL_PRICE = "price";

    public static final String COL_NUMBER = "number";

    public static final String COL_SPECIFICATIONS = "specifications";

    public static final String COL_CHECKED = "checked";

    public static final String COL_PIC_URL = "pic_url";

    public static final String COL_ADD_TIME = "add_time";

    public static final String COL_UPDATE_TIME = "update_time";

    public static final String COL_DELETED = "deleted";

    public static final String COL_SETTLEMENT_MONEY = "settlement_money";

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取用户表的用户ID
     *
     * @return user_id - 用户表的用户ID
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 设置用户表的用户ID
     *
     * @param userId 用户表的用户ID
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 获取入驻品牌商编码
     *
     * @return brand_id - 入驻品牌商编码
     */
    public Integer getBrandId() {
        return brandId;
    }

    /**
     * 设置入驻品牌商编码
     *
     * @param brandId 入驻品牌商编码
     */
    public void setBrandId(Integer brandId) {
        this.brandId = brandId;
    }

    /**
     * 获取商品表的商品ID
     *
     * @return goods_id - 商品表的商品ID
     */
    public Integer getGoodsId() {
        return goodsId;
    }

    /**
     * 设置商品表的商品ID
     *
     * @param goodsId 商品表的商品ID
     */
    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    /**
     * 获取商品编号
     *
     * @return goods_sn - 商品编号
     */
    public String getGoodsSn() {
        return goodsSn;
    }

    /**
     * 设置商品编号
     *
     * @param goodsSn 商品编号
     */
    public void setGoodsSn(String goodsSn) {
        this.goodsSn = goodsSn;
    }

    /**
     * 获取商品名称
     *
     * @return goods_name - 商品名称
     */
    public String getGoodsName() {
        return goodsName;
    }

    /**
     * 设置商品名称
     *
     * @param goodsName 商品名称
     */
    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    /**
     * 获取商品货品表的货品ID
     *
     * @return product_id - 商品货品表的货品ID
     */
    public Integer getProductId() {
        return productId;
    }

    /**
     * 设置商品货品表的货品ID
     *
     * @param productId 商品货品表的货品ID
     */
    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    /**
     * 获取商品货品的价格
     *
     * @return price - 商品货品的价格
     */
    public BigDecimal getPrice() {
        return price;
    }

    /**
     * 设置商品货品的价格
     *
     * @param price 商品货品的价格
     */
    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    /**
     * 获取商品货品的数量
     *
     * @return number - 商品货品的数量
     */
    public Short getNumber() {
        return number;
    }

    /**
     * 设置商品货品的数量
     *
     * @param number 商品货品的数量
     */
    public void setNumber(Short number) {
        this.number = number;
    }

    /**
     * 获取商品规格值列表，采用JSON数组格式
     *
     * @return specifications - 商品规格值列表，采用JSON数组格式
     */
    public String getSpecifications() {
        return specifications;
    }

    /**
     * 设置商品规格值列表，采用JSON数组格式
     *
     * @param specifications 商品规格值列表，采用JSON数组格式
     */
    public void setSpecifications(String specifications) {
        this.specifications = specifications;
    }

    /**
     * 获取购物车中商品是否选择状态
     *
     * @return checked - 购物车中商品是否选择状态
     */
    public Boolean getChecked() {
        return checked;
    }

    /**
     * 设置购物车中商品是否选择状态
     *
     * @param checked 购物车中商品是否选择状态
     */
    public void setChecked(Boolean checked) {
        this.checked = checked;
    }

    /**
     * 获取商品图片或者商品货品图片
     *
     * @return pic_url - 商品图片或者商品货品图片
     */
    public String getPicUrl() {
        return picUrl;
    }

    /**
     * 设置商品图片或者商品货品图片
     *
     * @param picUrl 商品图片或者商品货品图片
     */
    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl;
    }

    /**
     * 获取创建时间
     *
     * @return add_time - 创建时间
     */
    public Date getAddTime() {
        return addTime;
    }

    /**
     * 设置创建时间
     *
     * @param addTime 创建时间
     */
    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    /**
     * 获取更新时间
     *
     * @return update_time - 更新时间
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置更新时间
     *
     * @param updateTime 更新时间
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 获取逻辑删除
     *
     * @return deleted - 逻辑删除
     */
    public Boolean getDeleted() {
        return deleted;
    }

    /**
     * 设置逻辑删除
     *
     * @param deleted 逻辑删除
     */
    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    /**
     * 获取代理结算佣金
     *
     * @return settlement_money - 代理结算佣金
     */
    public BigDecimal getSettlementMoney() {
        return settlementMoney;
    }

    /**
     * 设置代理结算佣金
     *
     * @param settlementMoney 代理结算佣金
     */
    public void setSettlementMoney(BigDecimal settlementMoney) {
        this.settlementMoney = settlementMoney;
    }
}